#include <QDebug>
#include <QtXml> 

#include <QContactModel>

void upload(QMap<QString,QString> idmap ) {

  QContactModel model;
  for (int i =0; i < model.count(); ++i) {
    QContact contact = model.contact(i);
    qDebug() << "contact: " << contact.label();

  }
  exit(0);

}
